package cn.wolfcode.shop.cloud.service;

import cn.wolfcode.shop.cloud.vo.SecKillGoodVO;

import java.util.List;

public interface ISecKillGoodsService {

    List<SecKillGoodVO> query();

    List<SecKillGoodVO> queryByCache();

    SecKillGoodVO find(Long seckillId);

    int decrCount(Long seckillId);

    SecKillGoodVO findByCache(Long seckillId);

    void syncPreCount(Long goodId);
}
